package com.example.basic.web.mapper.parameter;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.basic.base.BaseEntityMapper;
import com.example.basic.web.model.parameter.Parameter;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 全局参数表 Mapper 接口
 * </p>
 *
 * @author zhangzq
 * @since 2023-12-08
 */
@Mapper
public interface ParameterMapper extends BaseEntityMapper<Parameter> {

    /**
     * 列表(分页,没有筛选条件) zq
     * @param searchParam 模糊搜索
     * @return
     */
    IPage<Parameter> queryList (Page<Parameter> queryPage, @Param("searchParam") String searchParam);
}